import request from '@/utils/request'

export default {
  paging(page, limit, keyword) {
    return request({
      url: `/admin/borrower/paging/${page}/${limit}`,
      method: 'get',
      params:{keyword}
    })
  },
  detail(id){
    return request({
      url:`/admin/borrower/detail/${id}`,
      method:'get'
    })
  },
  approval(borrowerApproval){
    return request({
      url:'/admin/borrower/approval',
      method:'post',
      data:borrowerApproval
    })
  }
}
